/**
 * Created by vincent on 2017/9/22.
 */
moduleResource.factory("ForumReplyResource", function (CambioResource, $$CambioConfig) {
    return CambioResource($$CambioConfig.RESOURCE_URL + "/forumReply", {}, {
        findListByForumId: {
            url: $$CambioConfig.RESOURCE_URL + "/forumReply/findListByForumId/:forumId",
            isArray: true,
            method: 'GET'
        },
        setValid: {
            url: $$CambioConfig.RESOURCE_URL + "/forumReply/setValid",
            method: 'POST'
        },
        setInvalid: {
            url: $$CambioConfig.RESOURCE_URL + "/forumReply/setInvalid",
            method: 'POST'
        }
    });
});